import request from '@/utils/request'

// 优惠券列表
export function couponList(data) {
    return request({
        url: '/mall/coupon/list',
        method: 'post',
        data: data
    })
}

// 商品优惠券列表
export function couponList(data) {
    return request({
        url: '/mall/coupon/listByGoods',
        method: 'post',
        data: data
    })
}
